package com.example.design_patterns.abstract_factory_pattern;

public class ColorFactory extends AbstractFactory {

    @Override
    public Shape getShape(String type) {
        return null;
    }

    @Override
    public Color getColor(String color) {
        if(color.equals("red")){
            return new red();
        }else if(color.equals("blue")){
            return new blue();
        }
        return null;
    }
}
